package cn.lili.timetask.handler.impl.goods;

import cn.lili.modules.goods.client.GoodsClient;
import cn.lili.timetask.handler.EveryHourExecute;
import cn.lili.timetask.handler.EveryMinuteExecute;
import lombok.RequiredArgsConstructor;
import org.springframework.stereotype.Component;

@Component
@RequiredArgsConstructor
public class GoodsMinuteExecute implements EveryMinuteExecute {

    private final GoodsClient goodsClient;

    /**
     * 同步保税仓订单状态
     */
    @Override
    public void execute() {
        goodsClient.minuteExecute();
    }
}
